#pragma once
#include "afxwin.h"

// CDlgLaserParam dialog
class CDlgLaserParam : public CDialog
{
	DECLARE_DYNAMIC(CDlgLaserParam)

public:
	CDlgLaserParam(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlgLaserParam();

	// Dialog Data
	enum { IDD = IDD_DLG_MARKPARAM };
public:
	int m_iWorkRepeat; 
	int m_iBaud;

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	CComboBox m_comboComPort;
	CComboBox m_comboLaserType;
	afx_msg void OnBnClickedRadioEzdprocess();
	afx_msg void OnBnClickedRadioCutprocess();
	CComboBox m_comboScanMark;
	CComboBox m_comboWorkStyle;
	afx_msg void OnCbnSelchangeComboWorkdistance();
	afx_msg void OnCbnSelchangeComboWorkstyle();
	afx_msg void OnBnClickedRadioAutoMode();
	afx_msg void OnBnClickedRadioHandMode();
	afx_msg void OnEditChangeLimit1X();
	afx_msg void OnEditChangeLimit1Y();
	afx_msg void OnEditChangeLimit2X();
	afx_msg void OnEditChangeLimit2Y();
	afx_msg void OnEditChangeAutoBegX();
	afx_msg void OnEditChangeAutoBegY();
	afx_msg void OnEditChangeAutoEndX();
	afx_msg void OnEditChangeAutoEndY();	
	afx_msg void OnEditChangeUnLoadX();
	afx_msg void OnEditChangeUnLoadY();

	double m_dLaserCCDBetweenX;
	double m_dLaserCCDBetweenX2;
	double m_dLaserCCDBetweenX3;
	double m_dLaserCCDBetweenX4;
	double m_dLaserCCDBetweenY;
	double m_dLaserCCDBetweenY2;
	double m_dLaserCCDBetweenY3;
	double m_dLaserCCDBetweenY4;
	double m_dJZWORKTHED;
	double m_dInitRotateThetOffset;
	BOOL m_bEnableCCD;
	BOOL m_bEnableConfig;
};
